package com.yukh.test.javabase.util.event.demo1;

public class Main {
	public static void main(String[] args) {
		MyClass c = new MyClass();
		c.addMyEventListener(new MyEventListener() {
			public void myEventOccurred(MyEvent evt) {
				// MyEvent was fired
				
			}
		});
	}
}
